package com.amkai.mobile.common.job.scheduler;

import java.util.ArrayList;
import java.util.List;

import com.amkai.mobile.bean.pmcase.MobileCase;
import com.amkai.mobile.bean.registration.MobilePatient;
import com.amkai.mobile.bean.scheduler.appointment.MobileAppointmentBrief;
import com.amkai.mobile.bean.scheduler.appointment.MobileAppointmentDetails;
import com.amkai.mobile.common.job.MobileJobResult;

public class MobileSchedulerJobResult extends MobileJobResult {
	private static final long serialVersionUID = 2747138785923335501L;
	private List<MobileAppointmentBrief> mobileAppointmentsBrief = new ArrayList<MobileAppointmentBrief>();
	private MobileAppointmentDetails mobileAppointmentDetails;
	private Exception exception;
	private MobileAppointmentBrief nearestMobileAppointment = null;
	private boolean isSCorSHAppointment;
	private MobilePatient mobilePatient;
	private MobileCase mobileCase;
	
	public Exception getException() {
		return exception;
	}
	
	public void setException(Exception exception) {
		this.exception = exception;
	}

	public MobileAppointmentDetails getMobileAppointmentDetails() {
		return mobileAppointmentDetails;
	}
	
	public void setMobileAppointmentDetails(
			MobileAppointmentDetails mobileAppointmentDetails) {
		this.mobileAppointmentDetails = mobileAppointmentDetails;
	}
	
	public List<MobileAppointmentBrief> getMobileAppointmentsBrief() {
		return mobileAppointmentsBrief;
	}
	
	public void setMobileAppointmentsBrief(List<MobileAppointmentBrief> mobileAppointmentsBrief) {
		this.mobileAppointmentsBrief = mobileAppointmentsBrief;
	}
	
	public void setNearestMobileAppointment(
			MobileAppointmentBrief nearestMobileAppointment) {
		this.nearestMobileAppointment = nearestMobileAppointment;
	}
	
	public MobileAppointmentBrief getNearestMobileAppointment() {
		return nearestMobileAppointment;
	}
	
	public boolean isSCorSHAppointment() {
		return isSCorSHAppointment;
	}
	
	public void setSCorSHAppointment(boolean isSCorSHAppointment) {
		this.isSCorSHAppointment = isSCorSHAppointment;
	}
	
	public MobileCase getMobileCase() {
		return mobileCase;
	}
	
	public MobilePatient getMobilePatient() {
		return mobilePatient;
	}
	
	public void setMobileCase(MobileCase mobileCase) {
		this.mobileCase = mobileCase;
	}
	
	public void setMobilePatient(MobilePatient mobilePatient) {
		this.mobilePatient = mobilePatient;
	}
}
